<template>
  <a-card :bordered="false">
    <a-tabs v-model="tabActive">
      <a-tab-pane key="1" tab="入库记录">
        <WarehousingList v-if="tabActive == 1" :type="1"></WarehousingList>
      </a-tab-pane>
      <a-tab-pane key="2" tab="出库记录">
        <OutboundList v-if="tabActive == 2" :type="2"></OutboundList>
      </a-tab-pane>
    </a-tabs>
  </a-card>
</template>

<script>
import WarehousingList from './WarehousingList'
import OutboundList from './OutboundList'
export default {
  name: 'EntryAndExitRecords',
  components: {
    WarehousingList,
    OutboundList
  },
  data () {
    return {
      tabActive: '1'
    }
  },
  methods: {}
}
</script>
<style lang="less" scoped></style>
